package com.springboot.model;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @Author: TongRui乀
 * @Date: 2020-05-27 10:33
 * @description：
 */
public enum AgeEnum implements IEnum<Integer> {
    SB(1, "111111");

    private Integer age;

    private String des;

    AgeEnum(Integer age, String des){
        this.age = age;
        this.des = des;
    }

    @Override
    public Integer getValue() {
        return this.age;
    }

    @Override
    public String toString() {
        return this.des;
    }
}
